import request from '../utils/request'

export function list(params) {
  return request({
          url: '/chef/list',
          method: 'get',
          params: params
  })
}

export function find(id,params){
  return request({
    url:'/chef/find/'+id,
    method:'get',
    params:params
  })
}

//厨师点赞
export function save(data) {
  return request({
          url: '/member/chefLaud/save',
          method: 'post',
          data:data
  })
}